export function request(options) {
	return new Promise((resolve, reject) => {
		console.log(import.meta.env)
		const requestTask = uni.request({
			...options,
			url: `${import.meta.env.VITE_BASE_URL}${options.url}`,
		    success(res) {
				resolve(res.data)
			},
			fail(err) {
				reject(err)
			}
		})
	})
}